home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_066 / snapshot / problems < prev    next >
Text File  |  1992-05-06  |  4KB  |  96 lines

  1. Article 3360 of comp.sys.amiga:
  2. Path: mcdsun!noao!hao!nbires!seismo!rutgers!cbmvax!carolyn
  3. From: carolyn@cbmvax.cbm.UUCP (Carolyn Scheppner CATS)
  4. Newsgroups: comp.sys.amiga
  5. Subject: Re: Snapshot-screen dump utility
  6. Message-ID: <1648@cbmvax.cbmvax.cbm.UUCP>
  7. Date: 8 Apr 87 23:47:54 GMT
  8. References: <434@inria.UUCP>
  9. Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS)
  10. Organization: Commodore Technology, West Chester, PA
  11. Lines: 81
  12.  
  13. In article <434@inria.UUCP> rouaix@inria.UUCP (Francois Rouaix) writes:
  14. >
  15. >           SNAPSHOT
  16.  
  17. I like Snapshot but I have a few comments:
  18.  
  19. 1. It would not work with FAST memory present.  I had to use a utility
  20.    similar to "Hide" to disable FAST ram allocations before installing
  21.    Snapshot.  With the FAST ram present, all I could get was a small
  22.    (Lattice ?) stack overflow requestor.  Even with a 40,000 stack.
  23.    With my FAST ram hidden, Snapshot installed properly with my normal
  24.    10,000 stack size.
  25.  
  26. >[]
  27. >SNAPSHOT saves the pictures in IFF format, using the Fish16 library.
  28. >It saves the colours too. (yes there is a bug in PutPict which wants a
  29. >ColorTable instead of a ColorMap).
  30.  
  31. 2. That isn't a bug.  If you look where they define the passed arg called
  32.    "colorMap", you'll see that it is a WORD *, not a struct ColorMap *.
  33.    I'll agree that "colorMap" was a very poor name choice for a pointer
  34.    to the ColorTable, and that it should be documented better, but
  35.    it's not a bug.
  36.  
  37. >[]
  38. >Final Note: considering a screen enhanced with morerows, the resulting
  39. >picture may be considered as INTERLACE by seeilbm.
  40.  
  41. 3. I wrote SeeILBM before morerows or PAL Amigas existed.  So it uses
  42.    the HIRES flag if the ILBM is >320 wide, and the LACE flag if >200
  43.    high.  In later versions, I look for a CAMG (Amiga ViewModes) chunk.
  44.    If one is present, I use the ViewMode flags in the CAMG chunk.
  45.  
  46.    If no CAMG is found, then I set the flags based on the BMHD pageWidth
  47.    and pageHeight.  For PAL compatibility, I now only set LACE if 
  48.    the height is > 256.  So my newer viewers should not set LACE for
  49.    a morerows screen.  I still (wrongly I guess) set HIRES if the
  50.    pageWidth is > 320.  I probably should check for something safer
  51.    like > 400.
  52.  
  53.    Most current Amiga ILBMs DO contain a CAMG chunk, and any screen
  54.    saver should be saving a CAMG chunk so that unusual display modes
  55.    such as HAM may be properly saved and re-displayed.  And any
  56.    current ILBM viewer should be looking for a CAMG chunk.  If a
  57.    CAMG chunk is found, the viewer should use the ViewModes stored
  58.    there when displaying the picture.  If a CAMG chunk is not found,
  59.    then the viewer should fall back on logical decisions based on
  60.    pageWidth ( >400 ?) and pageHeight ( >256) when deciding which
  61.    ViewModes flags should be set.
  62.  
  63.    I noticed that Snapshot does not save a CAMG chunk and therefore
  64.    would not be capable of properly saving HAM displays.
  65.  
  66.    See my new ScreenSave.c for an example of the modifications for
  67.    saving a CAMG chunk in the ILBM.  It's on one of the Fish Disks
  68.    and also on the new IFF disk.  My latest ILBM viewer (Display.c)
  69.    is also on the new IFF disk.  It handles CAMG chunks, displays
  70.    HAM ILBMs, and does Graphicraft (1 range) or DPaint (4 range)
  71.    color cycling.
  72.  
  73.    The new IFF disk will soon be available from Fred Fish.  Or you can
  74.    order "IFF docs and disk" from CBM (includes printed spiral bound
  75.    docs and listings).
  76.  
  77.    To order "IFF docs and disk" from us, send a check for $20 made
  78.    out to Commodore Business Machines to:
  79.  
  80.       Kim Montgomery
  81.       Software Tech Support
  82.       CBM
  83.       1200 Wilson Drive
  84.       West Chester, PA.  19380
  85.  
  86.    Ask for "IFF Docs and Disk".
  87.  
  88. -- 
  89. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  90. Carolyn Scheppner -- CBM   >>Amiga Technical Support<<
  91.                      UUCP  ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn 
  92.                      PHONE 215-431-9180
  93. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  94.  
  95.  
  96.